package com.itheima.dubbo.interfaces;

import com.itheima.commons.pojo.domain.Announcement;

import java.util.List;

/**
 * @author yaohu
 * @date 2021/12/12
 * @Version 1.0
 * @describe
 */
public interface AnnouncementApi {

    /**
     * 分页查询公告
     *
     * @param page
     * @param pageSize
     * @return
     */
    List<Announcement> findAnnouncementByPage(Integer page, Integer pageSize);
}
